﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using CasaBella.Entities;

namespace CasaBella.BL
{
    public interface IMaterialBL
    {
        List<MATERIAL> GetAllFromMaterial();
        List<MATERIAL> GetAllFromMaterialByCriterio(string criterio);
        MATERIAL GetAllFromMaterialById(Int32 id);

        void AddMaterial(MATERIAL material);
        void UpdateMaterial(MATERIAL material);
        void DeleteMaterial(Int32 id);
    }
}
